package com.turing.post.datatranferpibs.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "CardManager")
public class CardManager implements Serializable {

	private Integer CardId; // 储值卡ID integer Not Null
	private String BranchNo; // 机构号 char(10) Not Null 参考Branch
	private String TranSeqNo; // 机构流水 char(6) Not Null
	private String CardSystemSeqNo;// 储值卡系统流水 varchar(40) Not Null
	private Date TranDate; // 交易日期 date Not Null
	private Date TranTime; // 交易时间 datetime Not Null
	private Integer CardCount; // 卡片数量 integer Not Null
	private BigInteger Amount;// 发生额(分) number(12) Not Null 所有卡合计金额

	public CardManager() {

	}

	@Id
	@Column(name = "CardId")
	public Integer getCardId() {
		return CardId;
	}

	public void setCardId(Integer cardId) {
		CardId = cardId;
	}

	@Column(name = "BranchNo")
	public String getBranchNo() {
		return BranchNo;
	}

	public void setBranchNo(String branchNo) {
		BranchNo = branchNo;
	}

	@Column(name = "TranSeqNo")
	public String getTranSeqNo() {
		return TranSeqNo;
	}

	public void setTranSeqNo(String tranSeqNo) {
		TranSeqNo = tranSeqNo;
	}

	@Column(name = "CardSystemSeqNo")
	public String getCardSystemSeqNo() {
		return CardSystemSeqNo;
	}

	public void setCardSystemSeqNo(String cardSystemSeqNo) {
		CardSystemSeqNo = cardSystemSeqNo;
	}

	@Column(name = "TranDate")
	public Date getTranDate() {
		return TranDate;
	}

	public void setTranDate(Date tranDate) {
		TranDate = tranDate;
	}

	@Column(name = "TranTime")
	public Date getTranTime() {
		return TranTime;
	}

	public void setTranTime(Date tranTime) {
		TranTime = tranTime;
	}

	@Column(name = "CardCount")
	public Integer getCardCount() {
		return CardCount;
	}

	public void setCardCount(Integer cardCount) {
		CardCount = cardCount;
	}

	@Column(name = "Amount")
	public BigInteger getAmount() {
		return Amount;
	}

	public void setAmount(BigInteger amount) {
		Amount = amount;
	}
}
